<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/6 0006
 * Time: 14:19
 */

namespace app\models;

use yii\base\Model;

class  UploadForm extends Model
{
    public $file;

    public function rules()
    {
        return [
          [['file'],'file'],
        ];
    }
}

